<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<!DOCTYPE html>
<html>
<head>
    <title>登录</title>
</head>
<body onload="yan()">
<form action="/denglu" method="post">
    <h3>欢迎光临，请登入</h3>
    <p>账号：<input type="text" name="username"></p>
    <p>密码：<input type="password" name="password"></p>
    <input type="submit" value="登录" name="denglu">&nbsp;
    <input type="submit" name="denglu" value="注册">
    ${errorMsg}
</form>
</body>
</html>